package com.fruit.auth.dao;

import java.io.Serializable;
import java.util.List;

import com.fruit.auth.model.Role;
import com.fruit.auth.model.User;
import com.fruit.dao.BaseDao;

public interface RoleDao extends BaseDao<Role>
{
	public List<User> findRoleUsers(Serializable roleId);
	public List<Integer> findRoleUserIds(Serializable roleId);
	public void deleteRole(Role role);
	public void deleteRoles(String roleIdsStr);
}
